<%@page import="ipsite.controller.Paginate"%>
<%@page import="ipsite.controller.Utils"%>
<%@page import="com.mongodb.DBObject"%>
<%@page import="com.mongodb.DBCursor"%>
<%
String topic = (String) request.getAttribute("name");
String path = (String) request.getAttribute("path");
int total = Integer.parseInt((String) request.getAttribute("total"));
int p = Integer.parseInt((String)request.getAttribute("page"));
int np = Integer.parseInt((String)request.getAttribute("np"));
DBCursor domain = (DBCursor) request.getAttribute("domain");
DBObject domains = (DBObject) request.getAttribute("wip");
String title = "Other domain of "+topic;
String description = "Other domain of "+topic+" .Statistics of the domain name "+topic;
String keywords = topic+",website,site,ipsite,alexa,google pagerank,pagerank,whois,ip,related site,infomation site";
%>
<jsp:include page="/layout/header.jsp">
	<jsp:param name="title" value="<%=title %>"/>
	<jsp:param name="description" value="<%=description %>"/>
	<jsp:param name="keywords" value="<%=keywords %>"/>
	<jsp:param name="index" value="true"/>
</jsp:include>

<div id="content">
        	<div id="content_inner">
            	<div id="leftsidecontent">
                	<div class="web-information">
                		<div class="domainname clearafter">
                        	<h1>Other domain of <%=topic %></h1>
                        </div>
                        <form action="/fd" class="s_whois">
							<input type="text" name="ip" value="example.com" onclick="javascript:this.value = ''"/>
							<button>Search</button>
						</form><br/>
                        <hr />
   						<h2>Other domain of <%=topic %> ( Total : <%=total %> )</h2>
   						<%=Utils.returnSame(domain) %>
   						<div class="pa">
   							<%=Paginate.paginate(p,np,7,"?") %>
   						</div>
   						<div class="clear"></div>
                    </div>
                </div>
                <div id="rightsidecontent">
                	<div class="adv-1">
                		<%@ include file='/adv/left.jsp'%>
                	</div>

                    <div class="box">
                    	<h3>Recent site update</h3>
                        <div class="content-box">
                        	<%@ include file='/element/site_update.jsp'%>

                        </div>
                    </div>
                </div>
                <div class="clearbreak"></div>
            </div>
        </div>
<%@ include file='/layout/footer.jsp'%>		